package work.mediway.mdm.biz.service.patient;

import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

import work.mediway.mdm.biz.entity.patient.PaAddress;

public interface PaAddressService extends IService<PaAddress> {

    /**
     * 统计患者的地区分布
     *
     * @param addressTypeCode 住址类型
     * @return Map<String, Map<String, Integer>>
     */
    Map<String, List<Map<String, Object>>> statisticsNumByArea(String addressTypeCode);
}
